/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * NodeTemplatEditor.java
 *
 * Created on Jan 14, 2010, 2:09:41 PM
 */

package dae.fxcreator.io.templates.ui;

import dae.fxcreator.io.templates.NodeTemplate;

/**
 *
 * @author Koen
 */
public class NodeTemplatEditor extends javax.swing.JPanel {

    /** Creates new form NodeTemplatEditor */
    public NodeTemplatEditor() {
        initComponents();
    }

    public void setModel(NodeTemplate template)
    {
        //iOEditorPanel1.setModel(template.getShaderNode());
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        iOEditorPanel1 = new dae.fxcreator.node.graph.IOEditorPanel();

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(iOEditorPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(174, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(iOEditorPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private dae.fxcreator.node.graph.IOEditorPanel iOEditorPanel1;
    // End of variables declaration//GEN-END:variables

}
